Skip to content

fix BVH leaf node index update after a removal that results in a partial root#363

Merged
sebcrozet merged 2 commits intomasterfrom
bvh-remove-fix
Jul 11, 2025
Merged

fix BVH leaf node index update after a removal that results in a partial root#363
sebcrozet merged 2 commits intomasterfrom
bvh-remove-fix

Conversation

@sebcrozet
Copy link
Member

This fixes a an incorrect BVH state that could be reached if a partial root is created after removing one of the remaining two leaves.

@sebcrozet sebcrozet changed the title fix leaf node index update after a removal that results in a partial root fix BVH leaf node index update after a removal that results in a partial root Jul 11, 2025
@sebcrozet sebcrozet merged commit a84ab9e into master Jul 11, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant